package com.bookstore.dao;

import com.bookstore.entity.Product;
import com.bookstore.entity.User;

import java.util.List;

public interface ProductDao {
    int insertProduct(Product product);

    int updateProduct(Product product);

    int deleteProduct(int productId);

    List<Product> queryAllProduct();

    Product queryProductId(int productId);

    List<Product> queryLimiteProduct(Integer start,Integer maxNum);

    int queryProductCount();
}
